package com.imooc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.imooc.bo.SearchJobsBO;
import com.imooc.enums.JobStatus;
import com.imooc.pojo.Job;
import com.imooc.utils.PagedGridResult;

/**
 * <p>
 * HR发布的职位表 服务类
 * </p>
 *
 * @author liansen
 * @since 2023-05-15
 */
public interface JobService extends IService<Job> {

    PagedGridResult queryJobList(String hrId, String companyId, Integer page, Integer limit, Integer status);

    Job queryJobDetail(String jobId, String hrId, String companyId);

    void modifyJobStatus(String jobId, String hrId, String companyId, JobStatus status);

    PagedGridResult searchJobs(SearchJobsBO searchJobsBO, Integer page, Integer limit);
}
